#ifndef _POINT_H_
#define _POINT_H_

class Point
{
	int m_x,m_y;

public:
	//c'tor
	Point():m_x(0),m_y(0){};
	Point(int x, int y):m_x(x),m_y(y){};
	void setPoint(int x, int y){m_x = x; m_y = y;}
	void setX(int x){m_x = x;}
	void setY(int y){m_y = y;}
	int getX()const{return m_x;}
	int getY()const{return m_y;}
};
#endif